package com.jxau.cn;
import java.util.*;
public class Student extends Person{

	private int id;
	private int age;
	private String sex;
	private String number;
	private String address;
	private String QQ;
	public Student() {
		super();
	}

	public Student(String name, String pwd) {
		super(name, pwd);
	}

	public Student(int id,String name,String pwd, int age, String sex, String number, String address, String qq) {
		super();
		this.id = id;
		this.setName(name);
		this.setPwd(pwd);
		this.age = age;
		this.sex = sex;
		this.number = number;
		this.address = address;
		this.QQ = qq;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getQQ() {
		return QQ;
	}

	public void setQQ(String qQ) {
		QQ = qQ;
	}

	
	@Override
	public String toString() {
		return this.getId()+"\t"+this.getName()+"\t"+this.getPwd()+"\t"+this.getAge()+"\t"+this.getSex()+"\t"+this.getNumber()+"\t"+this.getAddress()+"\t"+this.getQQ();
	}
	
}
